<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%--
  Created by IntelliJ IDEA.
  User: shangjun
  Date: 2017-5-8
  Time: 0:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生信息修改</title>
</head>
<body>
<form action="${pageContext.request.contextPath }/stu/editstudentsubmit.action" method="post">
    <input type="hidden" name="id_" value="${student.id}"/>
    姓名：<input name="name" value="${student.name}"/>
    <br/>
    年龄：<input name="age" value="${student.age}"/>
    <br/>
    出生日期：<input name="student.birthday" value="<fmt:formatDate value="${student.birthday}" pattern="yyyy-MM-dd"/>"/>
    <br/>
    <input type="submit" value="提交 "/>
</form>
</body>
</html>
